package com.one.group.model.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
* 房屋单元表
* @TableName sp_unit
*/
@Table(value ="sp_unit")
@Data
public class SpUnit implements Serializable {

    /**
    * 单元id
    */
    @Id(keyType = KeyType.Auto)
    private Long id;
    /**
    * 单元名称
    */
    private String name;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 更新时间
    */
    private Date updateTime;
    /**
    * 楼宇id
    */
    private Long buildingId;

}
